import React from 'react'

import Layout from '../Layout'
const Home = React.lazy(() => import('../views/Home'))
const Live = React.lazy(() => import('../views/Live'))
const Group = React.lazy(() => import('../views/Group'))
const routers = [
  {
    path: '/',
    element: (
      <Layout>
        <Home></Home>
      </Layout>
    ),
  },
  {
    path: '/live',
    element: (
      <Layout>
        <Group></Group>
      </Layout>
    ),
  },

  {
    path: '/group',
    element: (
      <Layout>
        <Live></Live>
      </Layout>
    ),
  },

  {
    path: '/group',
    element: (
      <Layout>
        <Live></Live>
      </Layout>
    ),
  },
]

export default routers
